package com.hmall.search.service;

import com.hmall.api.dto.ItemDTO;
import com.hmall.common.domain.PageDTO;
import com.hmall.search.domain.query.ItemPageQuery;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 搜索服务
 *
 * @author Moozy
 * @since 2025/5/10
 **/
public interface ISearchService {
    PageDTO<ItemDTO> search(ItemPageQuery query) throws IOException;

    Map<String, List<String>> filters(ItemPageQuery query) throws IOException;
}
